package com.lhq;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 * 
 * @author lhq
 */

@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@MapperScan("com.lhq.**.mapper")
public class LhqNovelApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(LhqNovelApplication.class, args);
        System.out.println("    _              _                __ _   \n" +
                "   | |      o O O | |_       o O O / _` |  \n" +
                "   | |     o      | ' \\     o      \\__, |  \n" +
                "  _|_|_   TS__[O] |_||_|   TS__[O]  __|_|  \n" +
                "_|\"\"\"\"\"| {======|_|\"\"\"\"\"| {======|_|\"\"\"\"\"| \n" +
                "\"`-0-0-'./o--000'\"`-0-0-'./o--000'\"`-0-0-' ");
        System.out.println("             小说后台启动成功           ");
    }
}
